package com.example.demo.common;

public class NotifyType {

    public static enum MsgType{
        ANNOUNCEMENT(0,"公告"),
        REMIND(1,"提醒"),
        PERSONAL_LETTER(2,"私信"),
        FREEZEN(3,"冻结");

        private Integer type;
        private String desc;

        private MsgType(Integer type, String desc) {
            this.type = type;
            this.desc = desc;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

    public static enum ActionType{
        FAVOR(0,"喜欢"),
        PRAISE(1,"点赞"),
        FOLLOW(2,"关注");

        private Integer type;
        private String desc;

        ActionType(Integer type, String desc) {
            this.type = type;
            this.desc = desc;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

}
